/** Package GUI version 1.0. In questo package troverete tutti i casi d'uso implementati per l'utilizzo delle procedure del package GUI. */

CREATE OR REPLACE
package usage_gui as

procedure renderSessionUsage;

procedure renderViewDetail;

procedure renderManage (
  page BINARY_INTEGER DEFAULT 1,
  page2 BINARY_INTEGER DEFAULT 1,
  param1 VARCHAR2 DEFAULT '',
  param2 VARCHAR2 DEFAULT '',
  param3 VARCHAR2 DEFAULT '',
  param4 VARCHAR2 DEFAULT '',
  param5 VARCHAR2 DEFAULT '',
  param6 VARCHAR2 DEFAULT ''
);

procedure renderManage2 (
  page BINARY_INTEGER DEFAULT 1,
  page2 BINARY_INTEGER DEFAULT 1,
  param1 VARCHAR2 DEFAULT '',
  param2 VARCHAR2 DEFAULT '',
  param3 VARCHAR2 DEFAULT '',
  param4 VARCHAR2 DEFAULT '',
  param5 VARCHAR2 DEFAULT '',
  param6 VARCHAR2 DEFAULT ''
);

procedure renderIndex;

emptyProdotto package_gui_statics.arrayIntVarchar;
emptyDistributori package_gui_statics.arrayIntVarchar;

procedure renderForm (
  user_name VARCHAR2 DEFAULT NULL,
  user_surname VARCHAR2 DEFAULT NULL,
  user_gender VARCHAR2 DEFAULT NULL,
  user_country package_gui_statics.arrayIntVarchar DEFAULT emptyProdotto,
  submit_button_form VARCHAR2 DEFAULT NULL,
  hiddenFieldExample VARCHAR2 DEFAULT NULL,
  user_password VARCHAR2 DEFAULT NULL,
  user_asleep VARCHAR2 DEFAULT NULL,
  user_degree VARCHAR2 DEFAULT NULL,
  user_birthdate VARCHAR2 DEFAULT NULL,
  user_trip_date_from VARCHAR2 DEFAULT NULL,
  user_trip_date_to VARCHAR2 DEFAULT NULL,
  user_search_name VARCHAR2 DEFAULT NULL,
  user_search_name_hidden VARCHAR2 DEFAULT NULL,
  prodotto package_gui_statics.arrayIntVarchar DEFAULT emptyProdotto,
  distributore package_gui_statics.arrayIntVarchar DEFAULT emptyDistributori,
  orario_hour VARCHAR2 DEFAULT NULL,
  orario_minute VARCHAR2 DEFAULT NULL
);

procedure renderMessageError (
  private_status_error_message VARCHAR2 DEFAULT NULL
);

procedure ajaxRequestReceiver (
  term VARCHAR2 DEFAULT NULL
);

end usage_gui;

